<#import "spring.ftl" as spring />
<html>
<head>
	<title>my.edificetraining.com: Schedule your inspection</title>
</head>
<body>
<div class="instructionBar">
	Select an Inspector Company from the list below.
</div>
					
<div id="content">
	<h1>HOME INSPECTORS IN YOUR AREA:</h1>
	
	<p>Your search criteria has returned the following Inspection Companies. Please click on a desired company name to begin scheduling an inspection.</p>
	
	<table class="standard">
	<tr>
		<th>NAME</th>	
		<th>ADDRESS</th>
		<th>CITY</th>
		<th>STREET</th>
		<th>ZIP</th>
		<th>DISTANCE</th>
		<th></th>
		<th></th>
	</tr>
	 
	<#list companies as company>
	<tr>
	 
		<td class="rowHeader"><a href="<@spring.url "/inspectors/${company.shortName}/schedule1.html?fromSearch=true" />">${company.name?upper_case}</a></td>
		<td>${(company.address.state?upper_case)!}</td>
		<td>${(company.address.city?upper_case)!}</td>
		<td>${(company.address.street1?upper_case)!}</td>
		<td>${company.address.zipCode?upper_case}</td>
		<td>${distancesByZip[company.address.zipCode]}&nbsp;MILES</td>
		<td><a target="_new" href="http://www.mapquest.com/maps/map.adp?address=${company.address.street1!}&city=${company.address.city!}&zipcode=${company.address.zipCode}&country=US">MAP</a></td>
		<td><a target="_new" href="http://www.mapquest.com/directions/main.adp?1z=${originalZip}&2a=${company.address.street1!}&c=${company.address.city!}&2z=${company.address.zipCode}&2y=US">DIRECTIONS</a></td>
	</tr>
	</#list>
	</table>
</div>

</body>
</html>
